package com.ipc.app.web.ajax;

import java.io.IOException;

import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value = "/jsp/carLicenseValidate.do")
public class CarValidateAjax {

	@RequestMapping(method = RequestMethod.GET)
	public void carLicenseValidate(String carLicense,
			HttpServletResponse response) {
		try {
			response.setContentType("text/html");
			response.getWriter().write("ok");
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

}
